package com.lagou.repository;

import com.lagou.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;


public interface COrderRepository extends JpaRepository<COrder,Long> {

    List<COrder> findCOrdersByUserId(int userId);
}
